﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Drawing;
using System.Drawing.Drawing2D;

namespace Buccontrols
{
    class BitmapHandler
    {
        public static Image resizeImage(Image imgToResize, Size size)
        {
            return imgToResize.GetThumbnailImage(size.Width, size.Height, null, IntPtr.Zero);
        }
    }
}
